using System;
using System.Collections.Generic;
using System.Text;

namespace BusinessLayer.Model
{
    /// <summary>
    /// Klasa zawierajaca informacje na temat zindeksowanej strony Web
    /// </summary>
    public class WebPage
    {
        /// <summary>
        /// Identyfikator strony
        /// </summary>
        private int id;

        /// <summary>
        /// URL zindeksowanej strony Web
        /// </summary>
        private string url;

        /// <summary>
        /// Pobrana zawartosc strony pozbawiona znacznikow HTML
        /// </summary>
        private string content;

        protected WebPage()
        {
        }

        public WebPage(string url, string content)
        {
            this.url = url;
            this.content = content;
        }

        public virtual int Id
        {
            get { return id; }
            set { id = value; }
        }

        public virtual string Url
        {
            get { return url; }
            set { url = value; }
        }

        public virtual string Content
        {
            get { return content; }
            set { content = value; }
        }
    }
}
